﻿﻿using System;
using System.Collections.Generic;
using System.Web;
namespace WebMvc.App.Models.Tips.Common
{
    public class alipay_config
    {
		public string id=null;
		public string partner=null;
		public string seller_email=null;
		public string key=null;
        public string __name__;
        public alipay_config(string name)
        {
            this.__name__ = name;
			this.id = string.Format("{0}.id",__name__);
			this.partner = string.Format("{0}.partner",__name__);
			this.seller_email = string.Format("{0}.seller_email",__name__);
			this.key = string.Format("{0}.key",__name__);
        }
        public alipay_config()
        {
			this.id = string.Format("{0}.id",__name__);
			this.partner = string.Format("{0}.partner",__name__);
			this.seller_email = string.Format("{0}.seller_email",__name__);
			this.key = string.Format("{0}.key",__name__);
        }
        public override string ToString()
        {
            if (__name__ == null)
            {
                return "alipay_config";
            }
            else
            {
                return string.Format("alipay_config as {0}",__name__);
            }
        }
    }
}